﻿<% @title = "#{t :dangkitruoc}" %>
<p id="notice"><%= notice %></p>
<h3><%= t :dangkitruoc %></h3>
<br/>
<%= form_tag "registration" do %>
	
    <p><b> <%= t :nguoidung %></b></p>
  <%@User= User.all%>
  <%array = @User.map {|p| [ p.firstName+ p.lastName, p.firstName + p.lastName ] }%>
  
  <%= select_tag "body[mail]", options_for_select(array) %>
  <p><b> <%= t :masach%></b></p>
  <% @Product = Product.all %>
  <% array1   = @Product.map {|p| [ p.product_id, p.product_id  ] }%>
  <%= select_tag "body[description]", options_for_select(array1) %>
  </br>
	<div class="field">
		<%= button_to "#{t :dktruoc}" %>
	</div>
<% end %>
